package com.demoCode.girlFriend;

public class GirlFriendTest {
    public static void main(String[] args) {
//        GirlFriend gf1 = new GirlFriend();
//        gf1.setAge(20);
//        System.out.println(gf1.getAge());


//        GirlFriend gf2 = new GirlFriend();
//        gf2.setAge(30);
//        System.out.println(gf2.getAge());


        // 有参构造方法调用
//        GirlFriend girlFriend = new GirlFriend(" gf1", 20, "女");
//        GirlFriend girlFriend = new GirlFriend();

    }
}
